<?php
/**
 *   Author: Yanlongli <jobs@yanlongli.com>
 *   Date:   2019/11/16
 *   IDE:    PhpStorm
 *   Desc:
 */

use yanlongli\temporaryMailboxGrab\simpleTempMailBox;

include 'vendor/autoload.php';

$domains = require 'rule.php';

$list = simpleTempMailBox::grasp($domains, true, __DIR__ . '/temp', $err);
var_dump($list, $err);

